package com.example.calccalories;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.widget.TextView;

public class CalcDietActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_calc_diet);
		TextView tv = (TextView) this.findViewById(R.id.TextInitialWeight);
		tv.setText(tv.getText().toString() +  "60 Kg");
		tv = (TextView) this.findViewById(R.id.TextResultCalc);
		tv.setText(tv.getText().toString() + " 200 calorias diarias");
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.calc_diet, menu);
		return true;
	}

}
